﻿using System;
using System.ComponentModel.Composition;
using System.Collections.Generic;
using System.Web.UI;
using System.Linq;
using System.Text;
using System.IO;
using Base = System.Web.UI.Page;

namespace JQuery
{
    [InheritedExport]
    public interface IPlugin
    {
        /// <summary>
        /// register a script library to include on the page
        /// </summary>
        /// <param name="manager"></param>
        void RegisterLibrary(Resource manager, Base page);
        /// <summary>
        /// write out any script needed to initialize the library when the DOM is ready for processing.
        /// </summary>
        /// <param name="writer"></param>
        void RegisterLibraryInitializer(StringWriter writer);
    }
}
